<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>placeholder</title>
    <style>
        input::-webkit-input-placeholder{
            color:red;
        }
    </style>
</head>
<body>
    <div><input type="text"placeholder="placeholder"/></div>
</body>
</html>